package top.yongyan0624.service;

import top.yongyan0624.spring.MyApplicationContext;

/**
 * @author Yongyan
 * @description
 * @date 2022/2/8 15:19
 **/
public class Tester {
    public static void main(String[] args) {
        MyApplicationContext applicationContext = new MyApplicationContext(AppConfig.class);

        UserInterface userService = (UserInterface) applicationContext.getBean("userService");
        userService.test();
    }
}
